Fix pair::operator=(TupleLike&&). This assignment operator was previously broken since the SFINAE always resulted in substitution failure. This caused assignments to turn into copy construction + assignment. This patch was originally committed as r279953 but was reverted due to warnings in the test-suite. This new patch corrects those warnings. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@279955 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/utility b/include/utility index fbb06f3..095748d 100644 --- a/include/utility +++ b/include/utility
@@ -515,7 +515,7 @@ } template <class _Tuple, _EnableB< - _CheckTLC<_Tuple>::template __enable_assign() + _CheckTLC<_Tuple>::template __enable_assign<_Tuple>() > = false> _LIBCPP_INLINE_VISIBILITY pair& operator=(_Tuple&& __p) {